/**
 * Copyright 2011-2014
 * All rights reserved.
 */
package com.dhecp.core.genericDao;

import java.util.List;

/**
 * 分页返回对象
 */
public class PaginationResult<T> {
    private List<T> items;
    private Paginator paginator;

    public PaginationResult() {
        paginator = new Paginator();
    }

    public List<T> getItems() {
        return items;
    }

    public void setItems(List<T> items) {
        this.items = items;
    }

    public Paginator getPaginator() {
        return paginator;
    }

    public void setPaginator(Paginator paginator) {
        this.paginator = paginator;
    }
}
